prune: Don't fail on partial commits
authorDan Nicholson <nicholson@endlessm.com>
Wed, 23 Mar 2016 16:47:51 +0000 (09:47 -0700)
committerColin Walters <walters@verbum.org>
Wed, 23 Mar 2016 19:34:17 +0000 (15:34 -0400)
commit2ae7f619b2618e95dd3c3221041876d82a360fcf
tree0458cc2a229e9a306d2938cd9eced1420854ab60
parentddf0a02f88f27dcb477295863f8f4369820c8254
prune: Don't fail on partial commits

If a commit only pull has been done, then the commit object exists in
the object store in addition to the commitpartial file. Traversing this
partial commit will likely fail, but that's expected. If traverse
returns a G_IO_ERROR_NOT_FOUND in this case, continue with pruning.

https://bugzilla.gnome.org/show_bug.cgi?id=764091
src/libostree/ostree-repo-prune.c